<?php
namespace Home\Model;
use Think\Model;
class AddressBookModel extends Model{
	protected $tableName = "address_book";
	
	protected $_validate = array(
		array('username', 'require', "姓名不能为空！",  self::MUST_VALIDATE, null, self::MODEL_BOTH  ),
		array('department', 'require', "部门不能为空！",  self::MUST_VALIDATE, null, self::MODEL_BOTH  ),
		array('post', 'require', "职务不能为空！",  self::MUST_VALIDATE, null, self::MODEL_BOTH  ),
	);
	
	
	
}
?>